#include <ximera/system/pluginmanager.hpp>
#include <iostream>
#include <ximera/input/dinput8/plugin.hpp>

//#pragma comment(lib, "win32/debug/ximeradinput8.lib")

int main()
{
    using namespace ximera;

    system::PluginManager plugins;
    SharedPtr<system::IPlugin> plugin = plugins.loadPlugin(XIMERA_PLUGIN(L"XimeraDInput8"));

    std::wcout << plugin->name() << std::endl;

    //input::dinput8::Plugin* dinputPlugin = dynamic_cast<input::dinput8::Plugin*>(plugin.get());
    //if (dinputPlugin)
        //std::wcout << dinputPlugin->getInstance()->description() << std::endl;
}